jade.domain.FIPAAgentManagement
Class DFAgentDescription

java.lang.Object
  |
  +--jade.domain.FIPAAgentManagement.DFAgentDescription

public class DFAgentDescription
extends java.lang.Object

Models a DF agent descriptor. This class provides platform-level support to DF agent, holding all informations needed by DF-agent-description objects in fipa-agent-management ontology.

FIPA2000 still uses singular names for some slots whose type value is a set. In particular for "ontologies","languages","protocols". Because of that, since JADE 2.4, both singular and plural names can be used and are valid for those slots. That might change as soon as FIPA takes a final decision on the names of those slots.

Author:
Fabio Bellifemine - CSELT S.p.A.
See Also:
FIPAAgentManagementOntology

Constructor Summary
DFAgentDescription()
           
 
Method Summary
 void addLanguage(java.lang.String ip)
           
 void addLanguages(java.lang.String ip)
           
 void addOntologies(java.lang.String ip)
           
 void addOntology(java.lang.String ip)
           
 void addProtocol(java.lang.String ip)
           
 void addProtocols(java.lang.String ip)
           
 void addServices(ServiceDescription a)
           
 void clearAllLanguages()
           
 void clearAllOntologies()
           
 void clearAllProtocols()
           
 void clearAllServices()
           
 Iterator getAllLanguage()
           
 Iterator getAllLanguages()
           
 Iterator getAllOntologies()
           
 Iterator getAllOntology()
           
 Iterator getAllProtocol()
           
 Iterator getAllProtocols()
           
 Iterator getAllServices()
           
 AID getName()
           
 boolean removeLanguages(java.lang.String ip)
           
 boolean removeOntologies(java.lang.String ip)
           
 boolean removeProtocols(java.lang.String ip)
           
 boolean removeServices(ServiceDescription a)
           
 void setName(AID n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFAgentDescription

public DFAgentDescription()
Method Detail

setName

public void setName(AID n)

getName

public AID getName()

addServices

public void addServices(ServiceDescription a)

removeServices

public boolean removeServices(ServiceDescription a)

clearAllServices

public void clearAllServices()

getAllServices

public Iterator getAllServices()

addProtocols

public void addProtocols(java.lang.String ip)

removeProtocols

public boolean removeProtocols(java.lang.String ip)

clearAllProtocols

public void clearAllProtocols()

getAllProtocols

public Iterator getAllProtocols()

addOntologies

public void addOntologies(java.lang.String ip)

removeOntologies

public boolean removeOntologies(java.lang.String ip)

clearAllOntologies

public void clearAllOntologies()

getAllOntologies

public Iterator getAllOntologies()

addLanguages

public void addLanguages(java.lang.String ip)

removeLanguages

public boolean removeLanguages(java.lang.String ip)

clearAllLanguages

public void clearAllLanguages()

getAllLanguages

public Iterator getAllLanguages()

addOntology

public void addOntology(java.lang.String ip)

getAllOntology

public Iterator getAllOntology()

addProtocol

public void addProtocol(java.lang.String ip)

getAllProtocol

public Iterator getAllProtocol()

addLanguage

public void addLanguage(java.lang.String ip)

getAllLanguage

public Iterator getAllLanguage()